<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ include file="../common/taglib.jsp" %>
<!DOCTYPE html ">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>任务管理系统</title>
<%@ include file="../common/head.jsp" %>
</head>
<body>
     <div class="container">
   <div class="panel panel-default">
       <div class="panel-heading text-center">
          <h1>任务列表</h1>
       </div>
       <div class="panel-body">
            <table class="table table-hover">
                <tr>
                    <td>任务名</td>
                    <td>执行者</td>
                    <td>开始时间</td>
                    <td>结束时间</td>
                    <td>状态</td>
                    
                </tr>
            <c:forEach items="${list}" var="tk">
                <tr>
                    <td>${tk.tname}</td>
                    <td>${tk.texecutor}</td>
                    <td><fmt:formatDate value="${tk.tstarttime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                    <td><fmt:formatDate value="${tk.tendtime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                    <td>${tk.tstate}</td>
                    
                </tr>

            </c:forEach>

            </table>
       </div>
   </div>
</div>




<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>